<template>
<div>
	<HelloWorld ref="refCount"/>
	<button @click="increaseChildCount">increaseChildCount</button>
	<button @click="invokeChildIncrease">invokeChildIncrease</button>
</div>
</template>
<script setup>
import {ref} from "vue"
import HelloWorld from "../components/Ref.vue"
const refCount=ref(null)
const increaseChildCount=()=>{
	refCount.value.count++
}
const invokeChildIncrease=()=>{
	refCount.value.increase()
}
</script>